package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by new_p on 2019/5/14.
 */
@XmlRootElement(name = "Request")
public class HospitalizationRecordRequest {

    private String orgId; // 机构编码
    private String certificateType; // 证件类型
    private String certificateNo; // 证件号 证件与卡选填，但必需要有一个
    private String nationality; // 国籍
    private String cardType;  // 卡类型
    private String cardNo; // 卡号
    private String patientName; //
    private String inPatId; // 住院患者id
    private String status;


    @XmlElement(name = "orgId")
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @XmlElement(name = "certificateType")
    public String getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(String certificateType) {
        this.certificateType = certificateType;
    }

    @XmlElement(name = "certificateNo")
    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    @XmlElement(name = "nationality")
    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    @XmlElement(name = "cardType")
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @XmlElement(name = "cardNo")
    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @XmlElement(name = "patientName")
    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    @XmlElement(name = "inPatId")
    public String getInPatId() {
        return inPatId;
    }

    public void setInPatId(String inPatId) {
        this.inPatId = inPatId;
    }

    @XmlElement(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "HospitalizationRecordRequest{" +
                "orgId='" + orgId + '\'' +
                ", certificateType='" + certificateType + '\'' +
                ", certificateNo='" + certificateNo + '\'' +
                ", nationality='" + nationality + '\'' +
                ", cardType='" + cardType + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", patientName='" + patientName + '\'' +
                ", inPatId='" + inPatId + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
